Skip to content

feat(notification): implement dynamic Slack component#183

Merged
betterclever merged 1 commit intomainfrom
betterclever/25b2026/d1feat3
Dec 22, 2025
Merged

feat(notification): implement dynamic Slack component#183
betterclever merged 1 commit intomainfrom
betterclever/25b2026/d1feat3

Conversation

@betterclever
Copy link
Copy Markdown
Contributor

Summary

Implemented a robust Slack Notification Component allowing workflows to send dynamic messages via Bot Tokens or Incoming Webhooks.
This PR addresses Feature #2 on the Roadmap ('Slack/Teams Message').

Key Features

  • Dual Authentication: Support for both Bot Tokens (API) and Incoming Webhooks.
  • Dynamic Templating: Define variables (e.g., `{{time}}`) that are exposed as input ports and interpolated into messages.
  • Rich Formatting: Full support for Slack Block Kit JSON with template interpolation.
  • Threading: Optional threading support via `thread_ts`.
  • UI Integration: Uses the `SimpleVariableListEditor` for intuitive variable definition.
  • Categorization: Introduced new `notification` category.

Testing

  • Added comprehensive unit tests in `slack.test.ts` covering auth, interpolation, and error handling.
  • Validated end-to-end with `.playground/test-slack-e2e.ts`, confirming secret injection, dynamic data flow, and message delivery.

…upport and UI integration

Signed-off-by: betterclever <paliwal.pranjal83@gmail.com>
@betterclever betterclever merged commit 729278f into main Dec 22, 2025
3 checks passed
@LuD1161 LuD1161 deleted the betterclever/25b2026/d1feat3 branch February 12, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant